Writing Self-testing Java Classes with SelfTest
نویسنده
چکیده
This document provides a tutorial introduction to Java annotations called SelfTest. The SelfTest annotations allow one to annotate Java classes with test data, and the SelfTest annotation processor generates executable JUnit test classes from annotated Java classes by translating test cases to executable JUnit tests. The SelfTest annotations not only automate unit testing of Java classes significantly but also provides a step toward writing self-testing Java classes by embedding test data in source code for both compile and runtime processing.
منابع مشابه
Self-, Peer-, and Teacher-Assessments in Writing Improvement: A Study of Complexity, Accuracy, and Fluency
Alternative assessment approaches and, among them, self-assessment and peer-assessment are becoming increasingly important in educational contexts. Designed to compare self-assessment, peer-assessment, and teacher-assessment, this study included 90 EFL students from 3 intact classes divided into 3 groups: self-assessment, peer-assessment, and teacher-assessment. After taking the TOEFL Proficien...
متن کاملSelf-Test Methodology for At-Speed Test of Crosstalk in Chip Interconnects
The effect of crosstalk errors is most significant in highperformance circuits, mandating at-speed testing for crosstalk defects. This paper describes a self-test methodology that we have developed to enable on-chip at-speed testing of crosstalk defects in System-on-Chip interconnects. The self-test methodology is based on the Maximal Aggressor Fault Model [13], that enables testing of the inte...
متن کاملA Bist Generator Cad Tool for Numeric Integrated Circuits
This paper describes a training and research tool for learning basic issues related to BIST (Built-In SelfTest) generator. The main didactic aim of the tool is presenting complicated concepts in a comprehensive graphical and analytical way. The paper describes a computer-aided design (CAD) that is used to generate automatically the BIST to any digital circuit. This software technique attempts t...
متن کاملSelf-assessment of Writing in a Portfolio Program: A Case of Iranian EFL Learners
After moving away from the psychometric and the integrative language testing paradigms toward the communicative language testing paradigm, experts in writing and assessment have been concerned with creating conditions under which learners can experience and display writing in an authentic way so that their writings will tally the ones in non-test situations. As an alternative assessment option,...
متن کاملAutomatic Checking of Students’ Designs Using Built-In Selftest Methods
While distance learning is attractive for many reasons, it also incurs some specific problems. One of them is the lack of direct interaction between teaching staff and the students, another one the large number of students for some courses. Therefore, the checking and correction of the homework submitted by the students often takes a lot of time and effort. This is especially true for digital l...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014